package Day01;
//三角形图形打印
public class Demo12 {
    public static void main(String[] args) {
        for (int i = 0; i <4; i++) {
            System.out.print(" ");
            for (int j = 0; j < i * 2 + 1; j++) {
                System.out.print("*");
            }
            System.out.println();
        }
    }
}
